﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.postgresql
{
	// Token: 0x02000121 RID: 289
	public class TDropTriggerSqlStatement : TCustomSqlStatement
	{
		// Token: 0x06000944 RID: 2372 RVA: 0x0030328E File Offset: 0x0030148E
		public TDropTriggerSqlStatement(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstpostgresqlDropTrigger;
		}

		// Token: 0x06000945 RID: 2373 RVA: 0x003032A2 File Offset: 0x003014A2
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000946 RID: 2374 RVA: 0x003032B7 File Offset: 0x003014B7
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000947 RID: 2375 RVA: 0x003032C7 File Offset: 0x003014C7
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
